package com.wilson.integration.lease.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wilson.integration.lease.common.entity.BrowsingHistory;
import com.wilson.integration.lease.common.entity.vo.history.HistoryItemVO;

/**
* @author wilson
* @description 针对表【browsing_history(浏览历史)】的数据库操作Mapper
* @createDate 2023-07-24 15:48:00
* @Entity com.wilson.integration.lease.entity.BrowsingHistory
*/
public interface BrowsingHistoryMapper extends BaseMapper<BrowsingHistory> {

    /**
     * 获取浏览历史
     *
     * @param page
     * @param userId
     * @return
     */
    IPage<HistoryItemVO> pageHistoryItemByUserId(Page<HistoryItemVO> page, Long userId);
}




